<?php
namespace App\Models;

use App\Models\BaseModel;

class Product extends BaseModel
{
    protected $table = 'ec_product';

    //SKU
    public function product_spec(){
        return $this->hasMany('App\Models\ProductSpec','product_id','id');
    }
    public function product_statistics(){
        return $this->hasMany('App\Models\ProductStatistics','product_id','id');
    }
}
